﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MapAppLearning
{
    public partial class Form1 : Form
    {
        String[] temp;
        public Form1(String[] passedIn)
        {
            this.temp = passedIn;
            InitializeComponent();
            
        }

        private void button1_Click(object sender, EventArgs e)
        {
            
            this.textBox1.Lines.CopyTo(temp,0);
            this.Close();
        }
    }
}
